// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueCookie from 'vue-cookie'
import App from './App'
import router from './router'
import store from '@/store'
import '@/element-ui'
import '@/element-ui-theme'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/styles/border.css'
import '@/assets/styles/reset.css'
import '@/assets/styles/iconfont/iconfont.css'
import '@/assets/styles/currency.css'
Vue.config.productionTip = false
Vue.use(VueCookie)
Vue.use(router)

// new Vue({
//   el: '#app',
//   router,
//   store,
//   components: { App },
//   template: '<App/>'
// })

let vm = new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  render: h => h(App)
})

Vue.use({
  vm
})
